package com.huabo.system.mysql.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("TblAcquisitionRecord")
@ApiModel(value = "数据采集执行采集记录", description = "")
public class TblAcquisitionRecordMySql implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "记录ID")
    @TableField("RECORDID")
    private Integer recordId;//记录ID
    @ApiModelProperty(value = "采集年限")
    @TableField("RECORDYEAR")
    private String recordYear;//采集开始时间
    @ApiModelProperty(value = "是否关联主合同")
    @TableField("RECORDSTART")
    private Date recordStart;//采集开始时间
    @ApiModelProperty(value = "采集结束时间")
    @TableField("RECORDEND")
    private Date recordEnd;//采集结束时间
    @ApiModelProperty(value = "是否关联主合同")
    @TableField("采集用户Id")
    private Integer staffId;//采集用户
    @ApiModelProperty(value = "采集组织")
    @TableField("ORGID")
    private Integer orgId;//采集组织
    @ApiModelProperty(value = "采集耗时")
    @TableField("RECORDTIME")
    private String recordTime;//采集耗时
    @ApiModelProperty(value = "采集类型")
    @TableField("RETYPE")
    private Integer reType;//采集类型

    @Transient
    @TableField("所属公司")
    private String orgName;
    @Transient
    @TableField("采集人真实姓名")
    private String staffName;

}
